package com.ruoyi.project.data.service.impl;

import com.ruoyi.project.data.domain.WorksAllRecords;
import com.ruoyi.project.data.domain.WorksRecords;
import com.ruoyi.project.data.mapper.DatWorksMapper;
import com.ruoyi.project.data.service.IDatWorksService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class DatWorksServiceImpl implements IDatWorksService {
    @Autowired
    private DatWorksMapper datWorksMapper;
    @Override
    public List<WorksRecords> findWorksRecords(WorksRecords worksRecords) {
        List<WorksRecords> list =datWorksMapper.selectWorksRecords(worksRecords);
        return list;
    }

    @Override
    public List<WorksAllRecords> findWorksAllRecords(WorksAllRecords worksAllRecords) {
        List<WorksAllRecords> list =datWorksMapper.selectWorksAllRecords(worksAllRecords);
        return list;
    }
}
